// 导入request.js请求工具
import request from '@/utils/request.js'
// 订单管理相关接口

// 获取订单page的接口
export const getOrderPageApi = (params) => {
    return request.get('/order/page', {
        params
    })
}

// 获取订单详细的接口
export const getorderDetailListApi = (params) => {
    return request.get('/orderDetail/list', {
        params
    })
}

// 修改订单状态的接口
export const statusOrderApi = (params) => {
    return request.put('/order', params);
}